<?php
/**
 * or:string,file WIP 发现非常难写
 *
 * Author: ZeonWang
 * Date: 2017/12/1
 * Time: 18:09
 * Created by PhpStorm.
 */

namespace App\Validators;


use Illuminate\Validation\Validator;

class OrValidator
{
    /**
     * @param string $attribute - 请求的key值
     * @param string $value - 请求的参数
     * @param array $parameters - 写 example_rule:1,2,3,4 后面的参数数组 [1, 2, 3, 4]
     * @param $validator
     * @return bool
     */
    public function validate($attribute, $value, $parameters, Validator $validator)
    {
        return true;
    }
}